<?php
/**
 * Template part for displaying posts.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package bizwebsky
 */

?>


<div class="row post-item">
	<div class="col-md-4 feature">
		<a href="<?php the_permalink(); ?>">
			<?php
			if(has_post_thumbnail()):
				the_post_thumbnail("thumb_blog");
			else:
			    echo '<img src="'.bloginfo("template_url").'/img/no-thumb.jpg" width="230">';
			endif;
			?>
		</a>
	</div>
	<div class="col-md-8 post_content">
		<?php the_title( sprintf( '<h3 class="post_title"><a href="%s" rel="bookmark">', esc_url( get_permalink())), '</a></h3>' ); ?>
		<div class="meta clearfix">
			<?php the_date( 'd/m/Y', '<span class="meta-date">', '</span>' ); ?>
			<span class="dot"></span>
			<span class="meta-author"><?php the_author(); ?></span>
			<span class="dot"></span>
              <span class="meta-cate">
	              <?php the_category('<span style="line-height: 17px;float:left">&nbsp;|&nbsp;</span>'); ?>
              </span>
		</div>
		<div class="excerpt"><?php the_excerpt(); ?></div>
	</div>
</div>